package com.dubbo.lian.cms.modules.app;
 import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
 import java.io.Serializable;
import java.util.Date;
 /**
 * <p>
 * 
 * </p>
 *
 * @author lian
 * @since 2016-12-29
 */
public class Family extends Model<Family> {
     private static final long serialVersionUID = 1L;
 	/**
	 * 家庭ID
	 */
	@TableId(type = IdType.AUTO)
	private Integer familyid;
	/**
	 * 家庭分组
	 */
	private String fgroup;
	/**
	 * 用户ID
	 */
	private String userid;
	/**
	 * 是否为主账号，0为子账号，1未主账号
	 */
	private Integer ismaster;
	/**
	 * 家庭成员称呼
	 */
	private String familyname;
	/**
	 * 创建时间
	 */
	private Date createtime;
	/**
	 * 更新时间
	 */
	private Date updatetime;
	/**
	 * 
	 */
	private String phonenumber;
	/**
	 * 
	 */
	private Integer isuser;
 	public Integer getFamilyid() {
		return familyid;
	}
 	public void setFamilyid(Integer familyid) {
		this.familyid = familyid;
	}
 	public String getFgroup() {
		return fgroup;
	}
 	public void setFgroup(String fgroup) {
		this.fgroup = fgroup;
	}
 	public String getUserid() {
		return userid;
	}
 	public void setUserid(String userid) {
		this.userid = userid;
	}
 	public Integer getIsmaster() {
		return ismaster;
	}
 	public void setIsmaster(Integer ismaster) {
		this.ismaster = ismaster;
	}
 	public String getFamilyname() {
		return familyname;
	}
 	public void setFamilyname(String familyname) {
		this.familyname = familyname;
	}
 	public Date getCreatetime() {
		return createtime;
	}
 	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
 	public Date getUpdatetime() {
		return updatetime;
	}
 	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
 	public String getPhonenumber() {
		return phonenumber;
	}
 	public void setPhonenumber(String phonenumber) {
		this.phonenumber = phonenumber;
	}
 	public Integer getIsuser() {
		return isuser;
	}
 	public void setIsuser(Integer isuser) {
		this.isuser = isuser;
	}
 	@Override
	protected Serializable pkVal() {
		return this.familyid;
	}
 }
